Load the file chooser's widgets from the .ui file
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 12 Apr 2013 01:37:01 +0000 (20:37 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Tue, 16 Apr 2013 00:29:12 +0000 (19:29 -0500)
commita6f9ef0d3a9149c6e5582b5907ebc3085cffdfce
tree85a1029bfa00415acd43b2bf3f26e8338a40e201
parent1d946367d3795f7128fd8f0766daced9db142bc2
Load the file chooser's widgets from the .ui file

This is Tristan's *excellent* work, minus the old code for the shortcuts bar - that is all done
in GtkPlacesSidebar now.

The UI gets loaded from a Glade resource; most of the old code to create the UI by hand is gone.

There is still code for save_widgets_create(); this needs to be moved into the UI file, but it
is not a big deal.

gtk_file_chooser_default_init() calls a new post_process_ui() that takes care of all the things
that cannot be done directly in Glade.
gtk/Makefile.am
gtk/gtk.gresource.xml
gtk/gtkfilechooserdefault.c
gtk/tests/templates.c